/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package utils;

import java.util.regex.Pattern;

/**
 *
 * @author Carlangas
 */
public class StringPattern {

    private static StringPattern instance;
    static StringPattern getInstance() {
            if(instance!=null){
                return  instance;
             }else {
                    return new StringPattern();
            }
    }

    boolean parse(String malPatrametro) {
        throw new UnsupportedOperationException("Not yet implemented");
    }

    boolean parse(String malPatrametro, String regExpression) {
        Pattern  pattern=Pattern.compile(regExpression);
        return  true;
    }

}
